class_name SimpleDamageEffect
extends GameplayEffect


func _on_attach() -> void:
	var simple_damage_effect_asset = effect_asset as SimpleDamageEffectAsset
	if simple_damage_effect_asset:
		target.attribute_set.get_attribute("health").base_value -= source.attribute_set.get_attribute("damage").current_value
